package com.example.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Api(tags = "离职表")
public class Leaveemployee {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer departmentId;

    private Integer positionId;

    private Integer sex;

    private Integer status;

    private LocalDateTime leaveDate;
}
